package com.baosight.risk.service.riaa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Table: T_RIQU_INQUIRY_COMP
 */
@Data
@Table(name = "T_RIQU_INQUIRY_COMP")
public class RiquInquiryComp extends BaseEntity {

    /**
     * 问卷id
     * Table:     T_RIQU_INQUIRY_COMP
     * Column     QU_ID
     * Nullable:  false
     */
    @Column(name = "QU_ID")
    private String quId;

    /**
     * 问卷名称
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    QU_NAME
     * Nullable:  true
     */
    @Column(name = "QU_NAME")
    private String quName;

    /**
     * 问卷编制要求
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    QU_DESC
     * Nullable:  true
     */
    @Column(name = "QU_DESC")
    private String quDesc;

    /**
     * 编制单位
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    SEND_COMP_CODE
     * Nullable:  true
     */
    @Column(name = "SEND_COMP_CODE")
    private String sendCompCode;

    /**
     * 编制单位名称
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    SEND_COMP_NAME
     * Nullable:  true
     */
    @Column(name = "SEND_COMP_NAME")
    private String sendCompName;

    /**
     * 年度
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    ACCT_YEAR
     * Nullable:  true
     */
    @Column(name = "ACCT_YEAR")
    private String acctYear;

    /**
     * 下发单位
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    SUBMIT_COMP_CODE
     * Nullable:  true
     */
    @Column(name = "SUBMIT_COMP_CODE")
    private String submitCompCode;

    /**
     * 下发单位名称
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    SUBMIT_COMP_NAME
     * Nullable:  true
     */
    @Column(name = "SUBMIT_COMP_NAME")
    private String submitCompName;

    /**
     * 下发人
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    SUBMIT_USER_CODE
     * Nullable:  true
     */
    @Column(name = "SUBMIT_USER_CODE")
    private String submitUserCode;

    /**
     * 下发人姓名
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    SUBMIT_USER_NAME
     * Nullable:  true
     */
    @Column(name = "SUBMIT_USER_NAME")
    private String submitUserName;

    /**
     * 状态（01-待填报；02-已提交）
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    STATUS
     * Nullable:  true
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 状态说明
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    STATUS_NAME
     * Nullable:  true
     */
    @Column(name = "STATUS_NAME")
    private String statusName;

    /**
     * 备注
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    REMARK
     * Nullable:  true
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @Column(name = "ROW_ORDER")
    private  Integer rowOrder;

    /**
     * 父节点
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    PARENT_GUID
     * Nullable:  true
     */
    @Column(name = "PARENT_GUID")
    private  String parentGuid;

    /**
     * 业务类型
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    BIZ_TYPE
     * Nullable:  true
     */
    @Column(name = "BIZ_TYPE")
    private String bizType;

    /**
     * 业务类型
     * <p>
     * Table:     T_RIQU_INQUIRY_COMP
     * Column:    BIZ_TYPE_NAME
     * Nullable:  true
     */
    @Column(name = "BIZ_TYPE_NAME")
    private String bizTypeName;
    private static final long serialVersionUID = 1L;
}